package com.itheima.mapper;

import com.itheima.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface RoleMapper {
    Set<Role> findByUserId(@Param("id") Integer id);

    List<Role> findAll();

}
